import dayjs from 'dayjs';

export function formatDate(format = 'YYYY-MM-DD 00:00:00', date = Date.now()) {
	return dayjs(date).format(format);
}
